﻿using System;
using MoonSharp.Interpreter;

// Token: 0x020002B2 RID: 690
public class LuaListener : IListener
{
	// Token: 0x06000F3B RID: 3899 RVA: 0x000740B5 File Offset: 0x000722B5
	public void OnNotify(IEvent e)
	{
		this.function.Function.Call(new DynValue[]
		{
			this.instance,
			e.GetLuaData()
		});
	}

	// Token: 0x0400142F RID: 5167
	public DynValue instance;

	// Token: 0x04001430 RID: 5168
	public DynValue function;
}
